package com.lemon.cloud.curator.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lemon
 * @version 1.0
 * @description: 注入 zookeeper 的配置信息
 * @date Create by lemon on 2019-09-12 12:56
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "curator")
public class CuratorProperties {
    private int retryCount;
    private int elapsedTimeMs;
    private String connectString;
    private int sessionTimeoutMs;
    private int connectionTimeoutMs;
}
